package com.yhd.admin.service;

import java.util.List;
import com.yhd.admin.bean.Role;

public interface RoleService {
	List<Role> getRoles(Role role,int page,int rows);
	
	int getCount(Role role);
	
	int addRole(Role role);
	
	Role getRoleByName(String name);
	
	int updateRole(Role role);
}
